package com.xiaoshuidi.cloud.module.rooms.controller.admin.equipmentStocktakingList.vo;

import com.xiaoshuidi.cloud.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

@Schema(description = "管理后台 - 盘点清单分页请求对象")
@Data
@ToString(callSuper = true)
public class EquipmentStocktakingListPageReqVO extends PageParam {

        @Schema(description = "盘点单ID")
        private Long roomStocktakingId;

        @Schema(description = "盘点开始时间(起) 年月日")
        @DateTimeFormat(pattern = "yyyy-MM-dd")
        private LocalDate pdStartTimeA;

        @Schema(description = "盘点开始时间(止)")
        @DateTimeFormat(pattern = "yyyy-MM-dd")
        private LocalDate pdStartTimeB;

        @Schema(description = "盘点结束时间(起)")
        @DateTimeFormat(pattern = "yyyy-MM-dd")
        private LocalDate pdEndTimeA;

        @Schema(description = "盘点结束时间(止)")
        @DateTimeFormat(pattern = "yyyy-MM-dd")
        private LocalDate pdEndTimeB;

        @Schema(description = "门店名称")
        private String apartmentName;

}
